﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CategoryChilds.ascx.cs"
    Inherits="Directory.Web.Controls_CategoryChilds" %>
<%@ OutputCache Duration="60" VaryByParam="*" %>
<div class="child_List">
    <asp:Repeater ID="rptCateogryChilds" runat="server">
        <HeaderTemplate>
            <style type="text/css">
                .f_itemcount_0:display:none;</style>
            <ul>
        </HeaderTemplate>
        <ItemTemplate>
            <li>
                <img src="imgs/fldr.gif" />
                <a href="itemview.aspx?categoryId=<%# Eval("CategoryId") %>">
                    <%# Eval("CategoryName") %></a> <font style='display: <%# Convert.ToInt32(Eval("ItemsCount","{0}"))>0?"":"none" %>'>
                        <%# Eval("ItemsCount","({0})") %></font> </li>
        </ItemTemplate>
        <FooterTemplate>
            </ul></FooterTemplate>
    </asp:Repeater>
</div>
